﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.ServiceModel.Description;
using Dev.Net.ServerHost.Configuration;

namespace Dev.Net.ServerHost
{
    public class DevNetHost : ServiceHost
    {
        public DevNetHost(Type serviceType, params Uri[] baseAddresses)
			: base(serviceType, baseAddresses)
		{
            //foreach (ServiceEndpoint endpoint in base.Description.Endpoints)
            //{
            //    if (endpoint.Binding.GetType().Equals(typeof(WebHttpBinding)))
            //    {
            //        endpoint.Behaviors.Clear();
            //        endpoint.Behaviors.Add(new NullableHttpBehavior());
            //    }
            //}
		}

    }
}
